package org.zfes.snowier.cloud.zbss.cms.column.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class CmsColumn extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public CmsColumn() {}
	public CmsColumn(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 
	 @org.hibernate.validator.constraints.Length(min=0,max=30,message="栏目树形编码长度不能大于30")
	  private java.lang.String columnTreeCode;
 
	 @javax.validation.constraints.NotNull(message="名称不能为空")
	 @org.hibernate.validator.constraints.Length(min=0,max=100,message="名称长度不能大于100")
	  private java.lang.String columnName;
	 
	 @javax.validation.constraints.NotNull(message="访问路径不能为空")
	 @javax.validation.constraints.NotBlank(message="访问路径不能为空")
	 @org.hibernate.validator.constraints.Length(min=0,max=20,message="名称访问路径长度不能大于20")
	  private java.lang.String columnPath;
 
	@javax.validation.constraints.NotNull(message="模型ID_不能为空")
	  private java.lang.Long modelId;
 
	@javax.validation.constraints.NotNull(message="站点ID不能为空")
	  private java.lang.Long siteId;
	
	  private java.lang.Long parentId;
 
	@javax.validation.constraints.NotNull(message="排列顺序不能为空")
	  private java.lang.Integer sortNum;
 
	@javax.validation.constraints.NotNull(message="是否有内容不能为空")
	  private java.lang.Byte hasContent;
 
	@javax.validation.constraints.NotNull(message="是否显示不能为空")
	  private java.lang.Byte status;
 
	@javax.validation.constraints.NotNull(message="更新时间不能为空")
	  private java.util.Date updateTime;
 
	@javax.validation.constraints.NotNull(message="创建时间不能为空")
	  private java.util.Date createTime;
 
	
	  private java.lang.Long checkFlowId;
 
	
	  private java.lang.Byte afterCheck;
 
	@javax.validation.constraints.NotNull(message="是否栏目静态化不能为空")
	  private java.lang.Byte isStaticColumn;
 
	@javax.validation.constraints.NotNull(message="是否内容静态化不能为空")
	  private java.lang.Byte isStaticContent;
 
	@javax.validation.constraints.NotNull(message="是否使用目录访问不能为空")
	  private java.lang.Boolean isAccessByDir;
 
	@javax.validation.constraints.NotNull(message="是否使用子栏目列表不能为空")
	  private java.lang.Boolean isListChild;
 
	@javax.validation.constraints.NotNull(message="每页多少条记录不能为空")
	  private java.lang.Integer pageSize;
 
	 @org.hibernate.validator.constraints.Length(min=0,max=150,message="栏目页生成规则长度不能大于150")
	  private java.lang.String columnRule;
 
	 @org.hibernate.validator.constraints.Length(min=0,max=150,message="内容页生成规则长度不能大于150")
	  private java.lang.String contentRule;
 
	
	  private java.lang.Long tplMobileColumnId;
 
	
	  private java.lang.Long tplMobileContentId;
 
	
	  private java.lang.Long tplColumnId;
 
	
	  private java.lang.Long tplContentId;
 
	 @org.hibernate.validator.constraints.Length(min=0,max=255,message="外部链接长度不能大于255")
	  private java.lang.String link;
 
	 @org.hibernate.validator.constraints.Length(min=0,max=100,message="缩略图url长度不能大于100")
	  private java.lang.String titleImg;
 
	 @org.hibernate.validator.constraints.Length(min=0,max=100,message="缩略图url长度不能大于100")
	  private java.lang.String titleImgId;
 
	 @org.hibernate.validator.constraints.Length(min=0,max=100,message="内容图url长度不能大于100")
	  private java.lang.String contentImg;
 
	 @org.hibernate.validator.constraints.Length(min=0,max=100,message="内容图id长度不能大于100")
	  private java.lang.String contentImgId;
 
	@javax.validation.constraints.NotNull(message="内容是否有缩略图不能为空")
	  private java.lang.Boolean hasTitleImg;
 
	@javax.validation.constraints.NotNull(message="内容是否有内容图不能为空")
	  private java.lang.Boolean hasContentImg;
 
	@javax.validation.constraints.NotNull(message="内容标题图宽度不能为空")
	  private java.lang.Integer titleImgWidth;
 
	@javax.validation.constraints.NotNull(message="内容标题图高度不能为空")
	  private java.lang.Integer titleImgHeight;
 
	@javax.validation.constraints.NotNull(message="内容内容图宽度不能为空")
	  private java.lang.Integer contentImgWidth;
 
	@javax.validation.constraints.NotNull(message="内容内容图高度不能为空")
	  private java.lang.Integer contentImgHeight;
 
	@javax.validation.constraints.NotNull(message="评论不能为空")
	  private java.lang.Byte commentControl;
 
	@javax.validation.constraints.NotNull(message="顶踩不能为空")
	  private java.lang.Byte allowUpdown;
 
	@javax.validation.constraints.NotNull(message="是否新窗口打开不能为空")
	  private java.lang.Byte isBlank;
 
	 @org.hibernate.validator.constraints.Length(min=0,max=255,message="meta标题长度不能大于255")
	  private java.lang.String mateTitle;
 
	 @org.hibernate.validator.constraints.Length(min=0,max=255,message="meta关键字长度不能大于255")
	  private java.lang.String mateKeywords;
 
	 @org.hibernate.validator.constraints.Length(min=0,max=255,message="meta描述长度不能大于255")
	  private java.lang.String mateDescription;
 
	@javax.validation.constraints.NotNull(message="分享不能为空")
	  private java.lang.Byte allowShare;
 
	@javax.validation.constraints.NotNull(message="评分不能为空")
	  private java.lang.Byte allowScore;
 
	
	  private java.lang.Byte isDefault;
 
	
	//<-------------------------------------------->
	public CmsColumn setColumnTreeCode(java.lang.String columnTreeCode){
		this.columnTreeCode=columnTreeCode==null?null:columnTreeCode.trim();
	 return this;
	}
	public java.lang.String getColumnTreeCode(){
		return this.columnTreeCode;
	}
	public CmsColumn setColumnName(java.lang.String columnName){
		this.columnName=columnName==null?null:columnName.trim();
	 return this;
	}
	public java.lang.String getColumnName(){
		return this.columnName;
	}
	public CmsColumn setModelId(java.lang.Long modelId){
	 this.modelId=modelId;
	 return this;
	}
	public java.lang.Long getModelId(){
		return this.modelId;
	}
	public CmsColumn setSiteId(java.lang.Long siteId){
	 this.siteId=siteId;
	 return this;
	}
	public java.lang.Long getSiteId(){
		return this.siteId;
	}
	public CmsColumn setParentId(java.lang.Long parentId){
	 this.parentId=parentId;
	 return this;
	}
	public java.lang.Long getParentId(){
		return this.parentId;
	}
	public CmsColumn setSortNum(java.lang.Integer sortNum){
	 this.sortNum=sortNum;
	 return this;
	}
	public java.lang.Integer getSortNum(){
		return this.sortNum;
	}
	public CmsColumn setHasContent(java.lang.Byte hasContent){
	 this.hasContent=hasContent;
	 return this;
	}
	public java.lang.Byte getHasContent(){
		return this.hasContent;
	}
	public CmsColumn setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public CmsColumn setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}
	public CmsColumn setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}

	public java.lang.Long getCheckFlowId() {
		return checkFlowId;
	}
	public CmsColumn setCheckFlowId(java.lang.Long checkFlowId) {
		this.checkFlowId = checkFlowId;
		return this;
	}
	public CmsColumn setAfterCheck(java.lang.Byte afterCheck){
	 this.afterCheck=afterCheck;
	 return this;
	}
	public java.lang.Byte getAfterCheck(){
		return this.afterCheck;
	}
	public CmsColumn setIsStaticColumn(java.lang.Byte isStaticColumn){
	 this.isStaticColumn=isStaticColumn;
	 return this;
	}
	public java.lang.Byte getIsStaticColumn(){
		return this.isStaticColumn;
	}
	public CmsColumn setIsStaticContent(java.lang.Byte isStaticContent){
	 this.isStaticContent=isStaticContent;
	 return this;
	}
	public java.lang.Byte getIsStaticContent(){
		return this.isStaticContent;
	}
	public CmsColumn setIsAccessByDir(java.lang.Boolean isAccessByDir){
	 this.isAccessByDir=isAccessByDir;
	 return this;
	}
	public java.lang.Boolean getIsAccessByDir(){
		return this.isAccessByDir;
	}
	public CmsColumn setIsListChild(java.lang.Boolean isListChild){
	 this.isListChild=isListChild;
	 return this;
	}
	public java.lang.Boolean getIsListChild(){
		return this.isListChild;
	}
	public CmsColumn setPageSize(java.lang.Integer pageSize){
	 this.pageSize=pageSize;
	 return this;
	}
	public java.lang.Integer getPageSize(){
		return this.pageSize;
	}
	public CmsColumn setColumnRule(java.lang.String columnRule){
		this.columnRule=columnRule==null?null:columnRule.trim();
	 return this;
	}
	public java.lang.String getColumnRule(){
		return this.columnRule;
	}
	public CmsColumn setContentRule(java.lang.String contentRule){
		this.contentRule=contentRule==null?null:contentRule.trim();
	 return this;
	}
	public java.lang.String getContentRule(){
		return this.contentRule;
	}
	public CmsColumn setTplMobileColumnId(java.lang.Long tplMobileColumnId){
	 this.tplMobileColumnId=tplMobileColumnId;
	 return this;
	}
	public java.lang.Long getTplMobileColumnId(){
		return this.tplMobileColumnId;
	}
	public CmsColumn setTplMobileContentId(java.lang.Long tplMobileContentId){
	 this.tplMobileContentId=tplMobileContentId;
	 return this;
	}
	public java.lang.Long getTplMobileContentId(){
		return this.tplMobileContentId;
	}
	public CmsColumn setTplColumnId(java.lang.Long tplColumnId){
	 this.tplColumnId=tplColumnId;
	 return this;
	}
	public java.lang.Long getTplColumnId(){
		return this.tplColumnId;
	}
	public CmsColumn setTplContentId(java.lang.Long tplContentId){
	 this.tplContentId=tplContentId;
	 return this;
	}
	public java.lang.Long getTplContentId(){
		return this.tplContentId;
	}
	public CmsColumn setLink(java.lang.String link){
		this.link=link==null?null:link.trim();
	 return this;
	}
	public java.lang.String getLink(){
		return this.link;
	}
	public CmsColumn setTitleImg(java.lang.String titleImg){
		this.titleImg=titleImg==null?null:titleImg.trim();
	 return this;
	}
	public java.lang.String getTitleImg(){
		return this.titleImg;
	}
	public CmsColumn setTitleImgId(java.lang.String titleImgId){
		this.titleImgId=titleImgId==null?null:titleImgId.trim();
	 return this;
	}
	public java.lang.String getTitleImgId(){
		return this.titleImgId;
	}
	public CmsColumn setContentImg(java.lang.String contentImg){
		this.contentImg=contentImg==null?null:contentImg.trim();
	 return this;
	}
	public java.lang.String getContentImg(){
		return this.contentImg;
	}
	public CmsColumn setContentImgId(java.lang.String contentImgId){
		this.contentImgId=contentImgId==null?null:contentImgId.trim();
	 return this;
	}
	public java.lang.String getContentImgId(){
		return this.contentImgId;
	}
	public CmsColumn setHasTitleImg(java.lang.Boolean hasTitleImg){
	 this.hasTitleImg=hasTitleImg;
	 return this;
	}
	public java.lang.Boolean getHasTitleImg(){
		return this.hasTitleImg;
	}
	public CmsColumn setHasContentImg(java.lang.Boolean hasContentImg){
	 this.hasContentImg=hasContentImg;
	 return this;
	}
	public java.lang.Boolean getHasContentImg(){
		return this.hasContentImg;
	}
	public CmsColumn setTitleImgWidth(java.lang.Integer titleImgWidth){
	 this.titleImgWidth=titleImgWidth;
	 return this;
	}
	public java.lang.Integer getTitleImgWidth(){
		return this.titleImgWidth;
	}
	public CmsColumn setTitleImgHeight(java.lang.Integer titleImgHeight){
	 this.titleImgHeight=titleImgHeight;
	 return this;
	}
	public java.lang.Integer getTitleImgHeight(){
		return this.titleImgHeight;
	}
	public CmsColumn setContentImgWidth(java.lang.Integer contentImgWidth){
	 this.contentImgWidth=contentImgWidth;
	 return this;
	}
	public java.lang.Integer getContentImgWidth(){
		return this.contentImgWidth;
	}
	public CmsColumn setContentImgHeight(java.lang.Integer contentImgHeight){
	 this.contentImgHeight=contentImgHeight;
	 return this;
	}
	public java.lang.Integer getContentImgHeight(){
		return this.contentImgHeight;
	}
	public CmsColumn setCommentControl(java.lang.Byte commentControl){
	 this.commentControl=commentControl;
	 return this;
	}
	public java.lang.Byte getCommentControl(){
		return this.commentControl;
	}
	public CmsColumn setAllowUpdown(java.lang.Byte allowUpdown){
	 this.allowUpdown=allowUpdown;
	 return this;
	}
	public java.lang.Byte getAllowUpdown(){
		return this.allowUpdown;
	}
	public CmsColumn setIsBlank(java.lang.Byte isBlank){
	 this.isBlank=isBlank;
	 return this;
	}
	public java.lang.Byte getIsBlank(){
		return this.isBlank;
	}
	public CmsColumn setMateTitle(java.lang.String mateTitle){
		this.mateTitle=mateTitle==null?null:mateTitle.trim();
	 return this;
	}
	public java.lang.String getMateTitle(){
		return this.mateTitle;
	}
	public CmsColumn setMateKeywords(java.lang.String mateKeywords){
		this.mateKeywords=mateKeywords==null?null:mateKeywords.trim();
	 return this;
	}
	public java.lang.String getMateKeywords(){
		return this.mateKeywords;
	}
	public CmsColumn setMateDescription(java.lang.String mateDescription){
		this.mateDescription=mateDescription==null?null:mateDescription.trim();
	 return this;
	}
	public java.lang.String getMateDescription(){
		return this.mateDescription;
	}
	public CmsColumn setAllowShare(java.lang.Byte allowShare){
	 this.allowShare=allowShare;
	 return this;
	}
	public java.lang.Byte getAllowShare(){
		return this.allowShare;
	}
	public CmsColumn setAllowScore(java.lang.Byte allowScore){
	 this.allowScore=allowScore;
	 return this;
	}
	public java.lang.Byte getAllowScore(){
		return this.allowScore;
	}
	public CmsColumn setIsDefault(java.lang.Byte isDefault){
	 this.isDefault=isDefault;
	 return this;
	}
	public java.lang.Byte getIsDefault(){
		return this.isDefault;
	}
	public java.lang.String getColumnPath() {
		return columnPath;
	}
	public void setColumnPath(java.lang.String columnPath) {
		this.columnPath = columnPath;
	}
}
